﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="draw.aspx.cs" Inherits="draw" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>抽签</title>
    <style type="text/css">
        .auto-style1 {
            text-align: center;
        }
        .auto-style2 {
            font-size: large;
        }
        .auto-style3 {
            text-align: center;
        }
        .auto-style4 {
            font-weight: 700;
            font-size: large;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div class="auto-style3">
    
        <div class="auto-style1">
            <br />
            <strong><span class="auto-style2">
            <br />
            <br />
            请选择要抽签的课程：</span><asp:DropDownList ID="DropDownList1" runat="server" CssClass="auto-style2" DataSourceID="SqlDataSource1" DataTextField="Cname" DataValueField="Cname">
                <asp:ListItem></asp:ListItem>
            </asp:DropDownList>
            </strong>
        </div>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:XSXKConnectionString4 %>" SelectCommand="SELECT DISTINCT [Cname] FROM [Course]"></asp:SqlDataSource>
        <br />
        <br />
        <br />
        <br />
        <asp:Button ID="Button1" runat="server" CssClass="auto-style4" OnClick="Button1_Click" Text="抽签" />
    
    </div>
    </form>
</body>
</html>
